/**
 * create by young (young2f@outlook.com) on 2020/8/22
 */
'use strict';
import request from '../utils/request';

export async function findDynamicLabels(where) {
  return request('/api/dynamicLabels/find/all', {
    method: 'POST',
    body: where,
  });
};
export async function createDynamicLabel(body) {
  return request('/api/dynamicLabel/create', {
    method: 'POST',
    body,
  });
};

export async function updateDLabel(body) {
  return request('/api/dynamicLabel/update', {
    method: 'POST',
    body,
  });
};


export async function deleteDynamicLabel(where) {
  return request('/api/dynamicLabel/delete', {
    method: 'POST',
    body: where,
  });
};
